package com.java.study;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.listener.adapter.ReplyPostProcessor;
import org.springframework.stereotype.Component;

import java.util.function.BiFunction;
import java.util.function.Function;

/**
 * @author xuyuansheng
 */
@Component
public class ReplyPost implements ReplyPostProcessor {
    @Override
    public Message apply(Message message, Message message2) {
        return null;
    }

    @Override
    public <V> BiFunction<Message, Message, V> andThen(Function<? super Message, ? extends V> after) {
        return ReplyPostProcessor.super.andThen(after);
    }
}
